<?php
class Constant{
    const ROOT_NAME_CATEGORY = "ROOT";
    
    const UNDER_CONSTRUCTION_TIME = "February 5, 2013";
    
    const MESSAGE_COUNT_TIME_INTERVAL = 10000;
    
    const CBUTTONCOLUMN_WIDTH = "100";
    
    const GRIDVIEW_CBUTTONCOLUMN_ADMIN_TEMPLATE             =   '{view}{update}{trash}{delete}';
    const GRIDVIEW_CBUTTONCOLUMN_DELETED_LIST_TEMPLATE      =   '{view}{update}{untrash}{delete}';
    const GRIDVIEW_TEMPLATE                                 =   '{summary}{items}<br/>{pager}';
    
    const FORM_TEXTAREA_ROW         = 4;
    const FORM_CKEDITOR_WIDTH       = "100%";
    const FORM_CKEDITOR_HEIGHT      = "200px";
    
    const PRODUCT_SMALL_IMG_FOLDER_SAVE     =    "/../../uploads/products/small/";
    const PRODUCT_SMALL_IMG_FOLDER_DISPLAY  =    "/../uploads/products/small/";
    const PRODUCT_BIG_IMG_FOLDER_SAVE       =    "/../../uploads/products/big/";
    const PRODUCT_BIG_IMG_FOLDER_DISPLAY    =    "/../uploads/products/big/";
    
    const ARTICLE_IMG_FOLDER_SAVE           =   "/../../uploads/articles/";
    const ARTICLE_IMG_FOLDER_DISPLAY        =   "/../uploads/articles/";
    
    const USER_IMG_FOLDER_SAVE              =   "/../../uploads/users/";
    const USER_IMG_FOLDER_DISPLAY           =   "/../uploads/users/";
    
    const BANNER_POSITION_FOLDER_SAVE       =   "/../../uploads/bannerpositions/";
    const BANNER_POSITION_FOLDER_DISPLAY    =   "/../uploads/bannerpositions/";
    
    const BANNER_FOLDER_SAVE                =   "/../../uploads/banners/";
    const BANNER_FOLDER_DISPLAY             =   "/../uploads/banners/";
    
    const CDETAILVIEW_CSS_URL   = "/css/CDetailView.css";
    const CGRIDVIEW_CSS_URL     = "/css/CGridView.css";
    const PAGER_CSS_URL         = "/css/CGridView.css";
    
    const PAGER_HEADER          = "";
    const PAGER_PREV_PAGE_LABEL = "<";
    const PAGER_NEXT_PAGE_LABEL = ">";
    
    const CRUD_IMAGE_URL_ADD        =   '/images/add.png';
    const CRUD_IMAGE_URL_VIEW       =   '/images/details.png';
    const CRUD_IMAGE_URL_EDIT       =   '/images/edit.png';
    const CRUD_IMAGE_URL_TRASH      =   '/images/recyclebin.png';
    const CRUD_IMAGE_URL_UNTRASH    =   '/images/tick.png';
    const CRUD_IMAGE_URL_DELETE     =   '/images/delete.png';
    
    const HIGHCHART_THEME_URL = "/highchart/js/themes/grid.js"; // others are grey/dark-green/dark-blue
}
?>
